class sceneClass {
    constructor(game){
        this.game = game
    }

    update (){
    }
    draw(){

    }
}

class SceneTitle extends sceneClass {
    constructor (game){
        super(game)
        game.registerActions("KeyK", function(){
            var playScene = ScenePlay(game)
            game.replaceScene(playScene)
        })         
    }
    update (){
    }
    draw(){
        this.game.ctx.font = "18px 'Microsoft YaHei Mono'"
        this.game.ctx.fillText("按K游戏开始", 150,150)        
    }
} 